package com.qishanor.realty.model;

import com.baomidou.mybatisplus.annotation.*;
import com.qishanor.framework.base.ZeusBaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;


/**
 * 房产介绍
 *
 * @author 周振林
 * @date 2023-02-21 09:40:25
 */

@Data
@TableName("realty_intro")
@NoArgsConstructor
@ToString(callSuper = true)
@SuperBuilder(toBuilder = true)
public class RealtyIntro implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 电话
     */
    private String tel;
    /**
     * 购房意向地区
     */
    private String area;

    /**
     * 介绍人
     */
    private Integer introducer;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(fill = FieldFill.INSERT)
    private Integer createBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateBy;

    /**
     * 删除标记 1:已删除,0:正常
     */
    @TableLogic
    private Integer delFlag;

}
